package com.hig.ledger.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 可燃气体浓度探测器台账对象 ledger_gas_detector
 * 
 * @author scp
 * @date 2024-09-22
 */
public class LedgerGasDetector extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specificationAndModel;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 探测仪编号 */
    @Excel(name = "探测仪编号")
    private String code;

    /** 安装(放置)位置 */
    @Excel(name = "安装(放置)位置")
    private String installationLocation;

    /** 报警浓度(%LEL) */
    @Excel(name = "报警浓度(%LEL)")
    private BigDecimal alarmConcentration;

    /** 检定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verificationDate;

    /** 检定结果 */
    @Excel(name = "检定结果", dictType = "verification_results")
    private String verificationResults;

    /** 检定有效期 */
    @Excel(name = "检定有效期")
    private String verificationExpirationDate;

    /** 备用 */
//    @Excel(name = "备用")
    private String remarkSpare;

    /** 备用1 */
//    @Excel(name = "备用1")
    private String remarkSpare1;

    /** 备用2 */
//    @Excel(name = "备用2")
    private String remarkSpare2;

    /** 部门ID */
//    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecificationAndModel(String specificationAndModel) 
    {
        this.specificationAndModel = specificationAndModel;
    }

    public String getSpecificationAndModel() 
    {
        return specificationAndModel;
    }
    public void setProductionDate(Date productionDate) 
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate() 
    {
        return productionDate;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setInstallationLocation(String installationLocation) 
    {
        this.installationLocation = installationLocation;
    }

    public String getInstallationLocation() 
    {
        return installationLocation;
    }
    public void setAlarmConcentration(BigDecimal alarmConcentration) 
    {
        this.alarmConcentration = alarmConcentration;
    }

    public BigDecimal getAlarmConcentration() 
    {
        return alarmConcentration;
    }
    public void setVerificationDate(Date verificationDate) 
    {
        this.verificationDate = verificationDate;
    }

    public Date getVerificationDate() 
    {
        return verificationDate;
    }
    public void setVerificationResults(String verificationResults) 
    {
        this.verificationResults = verificationResults;
    }

    public String getVerificationResults() 
    {
        return verificationResults;
    }
    public void setVerificationExpirationDate(String verificationExpirationDate)
    {
        this.verificationExpirationDate = verificationExpirationDate;
    }

    public String getVerificationExpirationDate()
    {
        return verificationExpirationDate;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("specificationAndModel", getSpecificationAndModel())
            .append("productionDate", getProductionDate())
            .append("code", getCode())
            .append("installationLocation", getInstallationLocation())
            .append("alarmConcentration", getAlarmConcentration())
            .append("verificationDate", getVerificationDate())
            .append("verificationResults", getVerificationResults())
            .append("verificationExpirationDate", getVerificationExpirationDate())
            .append("remark", getRemark())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
